home *** CD-ROM | disk | FTP | other *** search
/ Aminet 49 / Aminet 49 (2002)(GTI - Schatztruhe)[!][Jun 2002].iso / Aminet / util / libs / muitoolkit-src.lha / muitoolkit-2.1_src / include / clib / muitoolkit_protos.h
Encoding:
C/C++ Source or Header  |  2001-09-16  |  2.0 KB  |  47 lines

  1. /*
  2. ** $Id: muitoolkit_protos.h,v 1.7 2001/01/14 10:46:30 carlos Exp $.
  3. **
  4. ** prototypes for muitoolkit.library
  5. **
  6. ** (C) Copyright 1999-2001 Marcin Orlowski <carlos@amiga.com.pl>
  7. ** All Rights Reserved.
  8. */
  9.  
  10. #ifndef CLIB_MUITOOLKIT_PROTOS_H
  11. #define CLIB_MUITOOLKIT_PROTOS_H
  12.  
  13. ULONG    mt_Get( Object *object, ULONG attribute );
  14. char     mt_ParseHotkey( char *string );
  15. Object * mt_Label( char *label );
  16. Object * mt_EmptyLabel( void );
  17. Object * mt_PopButton( int image, char *label );
  18. Object * mt_Checkmark( char *label, ULONG value, char *help );
  19. Object * mt_Cycle( char **array, char *label, ULONG value, char *help );
  20. Object * mt_CycleWeight( char **array, char *label, ULONG value, long weight, char *help );
  21. Object * mt_Slider( int min, int max, int level, char *label, char *help );
  22. Object * mt_SliderFmt( int min, int max, int level, char *label, char *fmt, char *help );
  23. Object * mt_String( char *str, int maxlen, char *label, char *help );
  24. Object * mt_StringSecret( char *string, int maxlen, char *label, char *help );
  25. Object * mt_StringAccept( char *string, int maxlen, char *label, char *accept, char *help );
  26. Object * mt_StringReject( char *string, int maxlen, char *label, char *reject, char *help );
  27. Object * mt_Button( char *label, char *help );
  28. Object * mt_ButtonWeight( char *label, int weight, char *help );
  29. Object * mt_ButtonToggle( char *label, char *help );
  30. Object * mt_Radio( char *array, char *label, char *help );
  31. Object * mt_Check( char *label, ULONG aligment, ULONG state, char *help );
  32.  
  33. ULONG    mt_WinOpen( Object *win );
  34. ULONG    mt_WinAttach( Object *app, Object *win );
  35. void     mt_WinDetach( Object *app, Object *win );
  36.  
  37. Object * mt_Text( char *string, char *preparse );
  38.  
  39. ULONG mt_GetStringA( Object *app, char *buffer, ULONG buf_len, struct TagItem *tags );
  40. ULONG mt_GetString(  Object *app, char *buffer, ULONG buf_len, Tag tag1, ... );
  41.  
  42. ULONG mt_GetIntegerA( Object *app, LONG *value, struct TagItem *tags );
  43. ULONG mt_GetInteger(  Object *app, LONG *value, Tag tag1, ... );
  44.  
  45.  
  46. #endif /* CLIB_MUITOOLKIT_PROTOS_H */
  47.